import { createRouter, createWebHashHistory } from 'vue-router';
import routerTree from './routerTree';

let baseRoutes = [];

let newRouter = createRouter({
    //electron 使用hash模式,默认
    history: createWebHashHistory(),
    routes: routerTree.concat(baseRoutes)
});

export default newRouter;
